import request from '@/utils/request'


// 查询医院管理详细
export function listTable(query) {
    return request({
        url: '/manage/list',
        method: 'get',
        params: query
    })
}

export function listManagement(hospitalId) {
    return request({
        url: '/manage/departmentList/' + hospitalId,
        method: 'get',
    })
}


export function ListPhysician(departmentId) {
    return request({
        url: '/manage/physicianList/' + departmentId,
        method: 'get',
    })
}

export function listDoctor(rankOfPhysician) {
    return request({
        url: '/manage/medic/' + rankOfPhysician,
        method: 'get',
    })
}

export function listMedic(doctorId) {
    return request({
        url: '/manage/medicList/' + doctorId,
        method: 'get',
    })
}

export function listMedical(patientName) {
    return request({
        url: '/manage/medical/' + patientName,
        method: 'get',
    })
}
